package com.xpec.c4.db.model;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.xpec.c4.db.model.basic.BasicGameModel;

@Entity
@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@Table(name = "copperator_accounts", uniqueConstraints = { @UniqueConstraint(columnNames = { "accountId" })})
public class CooperatorAccountModel extends BasicGameModel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8614172878273116470L;
	/**
	 * 帳號名稱
	 */
	private String accountId;
	/**
	 * 帳號密碼
	 */
	private String password;
	
	public CooperatorAccountModel(){}
	public CooperatorAccountModel(String accountId, String password){
		super();
		this.accountId = accountId;
		this.password = password;
	}
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}
